package com.ruiysoft.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.crm.model.entity.BizBatchClientRecord;
import com.ruiysoft.crm.model.entity.BizClient;
import com.ruiysoft.crm.model.entity.SysUser;
import com.ruiysoft.crm.model.vo.BizClientVo;

import java.util.List;
import java.util.Map;

/**
 * @author fanyl
 */
public interface BizClientService extends IService<BizClient> {

    IPage queryClientInfo(IPage page, Map<String, Object> params);

    /**
     * @param id 客户id
     * @return
     */
    BizClient getClientById(int id);

    Object recv_center(int i);

    boolean revokeAllotUser(BizBatchClientRecord record);

    Object allocationByBatchid(String batchid, SysUser userVO);

    /**
     * 获取所有车牌号码
     *
     * @return 车牌号码集合
     */
    List<String> getCarNos();

    List<BizClientVo> queryClients(Map<String, Object> params);
}
